package com.shop.api.feign;

import com.shop.Result.LdbzResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@FeignClient(name = "shop-service-admin")
public interface AdminLoginFeign {

    @RequestMapping(value = "/admin/login/service/login",method = RequestMethod.GET)
    LdbzResult userLogin(@RequestParam("account")String account, @RequestParam("password")String password,@RequestParam("code") String code,@RequestParam("uid") String uid);

}
